.container{
  width: 100%;
  height: calc(100vh - 305px);
  border-radius: 6px;
  box-sizing: border-box;
  padding: 10px;
  background-color: #e5e5e5;
}

.chat-container {
  padding: 16px;
  background-color: #f0f2f5;
}

.messageItem {
  display: flex;
  align-items: flex-start; /* 垂直对齐 */
}

.selfMessage {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  .avatar{
    width: 50px;
    height: 50px;
  }
  .message {
    margin-right: 10px;
    max-width: 80%;
    width: auto;
    height: auto;
    .content{
      border-radius: 6px;
      font-size: 18px;
      box-sizing: border-box;
      text-align: center;
      padding: 5px 10px;
      background-color: #95ec69;
      width: auto;
    }
    .time{
      width: 100%;
      text-align: right;
      color: #777;
    }
  }
}

.otherMessage {
  height: 80px;
  width: 100%;

  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  .avatar{
    width: 50px;
    height: 50px;
  }
  .message {
    margin-left: 10px;
    max-width: 80%;
    width: auto;
    height: auto;
    .content{
      border-radius: 6px ;
      font-size: 18px;
      box-sizing: border-box;
      padding: 5px 10px;
      background-color: #fff;
      width: auto;
      text-align: left;
      position: relative;
    }
    .content:before{
      width: 0px;
      height: 0px;
      content: "";
      border-top: 10px solid transparent;
      border-bottom: 10px solid transparent;
      border-right: 10px solid #fff;
      position: absolute;
      top: 20%;
      left: -9px;
    }
    .time{
      width: 100%;
      text-align: right;
      color: #777;
    }
  }
}


.antTitle {
  font-size: 14px;
  color: #333;
}

.antDescription {
  font-size: 12px;
  color: #777;
}